package cn.内存分配.pojo;

import java.util.ArrayList;
import java.util.List;

/**
 * Memory类 充当全局变量
 */
public final class Memory {
    public static Integer SIZE = 1024; //内存的默认大小为1024
    public static Integer INITIAL_ADDRESS = 0;  //内存的起始地址
    public static Integer BLOCK_INDEX = 1;  //为区块起名字用
    public static List<Block> blockList = new ArrayList<>();    //存放区块类
    public static List<Process> processList = new ArrayList<>();    //存放进程类
}
